<!DOCTYPE html>
<html>
<head lang="cn">
    <meta charset="UTF-8">
    <title>修改</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<#include "../../common/resources/resources-admin-lte-css.ftl">
<#include "../../common/resources/resources-bsgrid-css.ftl">
</head>
<body>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">添加</h4>
</div>
<div class="modal-body">
    <form class="form-horizontal" id="addForm" action="${ctx}/admin/site/add">
        <div class="modal-body">
            <legend>基本设置</legend>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">站点名称</label>

                <div class="col-sm-10">

                    <input type="text" name="name" class="form-control" id="name"
                           placeholder="请输入站点名称">
                </div>
            </div>
            <div class="form-group">
                <label for="dir" class="col-sm-2 control-label">目录</label>

                <div class="col-sm-10">
                    <input type="text" name="dir" class="form-control" id="dir"
                           placeholder="请输入站点目录">
                </div>
            </div>

            <div class="form-group">
                <label for="domain" class="col-sm-2 control-label">域名</label>

                <div class="col-sm-10">
                    <input type="text" name="domain" class="form-control"
                           id="domain"
                           placeholder="请输入域名">
                </div>
            </div>
            <legend>SEO设置</legend>
            <div class="form-group">
                <label for="title" class="col-sm-2 control-label">站点标题</label>

                <div class="col-sm-10">
                    <input type="text" name="title" class="form-control" id="title"
                           placeholder="请输入站点标题">
                </div>
            </div>

            <div class="form-group">
                <label for="keyword" class="col-sm-2 control-label">关键词</label>

                <div class="col-sm-10">
                    <input type="text" name="keyword" class="form-control"
                           id="keyword"
                           placeholder="请输入关键词">
                </div>
            </div>

            <div class="form-group">
                <label for="description" class="col-sm-2 control-label">站点描述</label>

                <div class="col-sm-10">
                    <input type="text" name="description" class="form-control"
                           id="description"
                           placeholder="请输入站点描述">
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default"
                    data-dismiss="modal">
                取消
            </button>
            <button type="button" id="addSub" class="btn btn-primary"
                    data-dismiss="modal">确定
            </button>
        </div>
    </form>
</div>
</body>
</html>